import { request } from '@vipl520/utils'
const path = '/' + import.meta.env.VITE_BASE_ADDON_NAME + '/agent/'

export function crud(prompt, crud_id) {
  return request({
    url: path + 'crud',
    method: 'post',
    data: { prompt, crud_id }
  })
}
